class ChargeModel {
  var type;
  var content;
  var createTime;
  var feedbackId;
  var medias;
  var title;
  var updateTime;
  var userId;
  var userName;
  var userPhone;
  var address;


  ChargeModel(
      {this.type,
        this.content,
        this.createTime,
        this.feedbackId,
        this.medias,
        this.title,
        this.updateTime,
        this.userId,
        this.userName,
        this.userPhone,
      this.address});

  ChargeModel.fromJson(Map<String, dynamic> json) {
    type = json['type'];
    content = json['content'];
    createTime = json['createTime'];
    feedbackId = json['feedbackId'];
    medias = json['medias'];
    title = json['title'];
    updateTime = json['updateTime'];
    userId = json['userId'];
    userName = json['userName'];
    userPhone = json['userPhone'];
    address = json['address'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['type'] = this.type;
    data['content'] = this.content;
    data['createTime'] = this.createTime;
    data['feedbackId'] = this.feedbackId;
    data['medias'] = this.medias;
    data['title'] = this.title;
    data['updateTime'] = this.updateTime;
    data['userId'] = this.userId;
    data['userName'] = this.userName;
    data['userPhone'] = this.userPhone;
    data['address'] = this.address;
    return data;
  }
}